﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="PremiseDetail.aspx.cs" Inherits="MockPrjTeam1.Pages.Forms.PremiseDetail" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script>
        function chuyentrang() {
            window.location = "../Views/PremiseList.aspx";
        }
        //        function displayCalendar() {
        //            var datePicker = document.getElementById('datePicker');
        //            datePicker.style.display = 'block';
        //        } 
    </script>
    <style type="text/css">
        .style3
        {
            width: 263px;
            height: 50px;
            padding-left: 20px;
        }
        
        .style16
        {
            width: 463px;
        }
        .style17
        {
            width: 463px;
            height: 50px;
        }
        .style18
        {
            width: 358px;
        }
        .style19
        {
            width: 358px;
            height: 50px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div id="templatemo_main">
        <div>
            <asp:Label ID="Label1" Text="Premise Detail" Font-Size="Large" ForeColor="Green"
                runat="server"></asp:Label>
            <br />
            <td>Detail1 </td>
            <asp:LinkButton ID="LinkbtnDetail2" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail2.aspx"> Detail 2 </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnDetail3" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail3.aspx"> Detail 3 </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnDetail4" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../../Pages/Forms/PremiseDetail4.aspx"> Detail 4 </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnFacilities" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../Views/FacilitiesList.aspx"> Facilities </asp:LinkButton>
            <asp:LinkButton ID="LinkbtnVolunteering" ForeColor="Blue" runat="server" Width="60px"
                PostBackUrl="../Views/VolunteeringList.aspx"> Volunteering </asp:LinkButton>
            <table width="970px" style="font-size: 14px; font-family: Arial">
                <tr>
                    <td class="style3">
                        LocationName
                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        &nbsp;&nbsp;
                    </td>
                    <td class="style16">
                        <br />
                        <asp:TextBox ID="txtLocationName" runat="server" TabIndex="1" CssClass="textbox"></asp:TextBox>
                        <br />
                    </td>
                    <td class="style19">
                        Primary Location
                    </td>
                    <td class="style5">
                        <asp:CheckBox ID="ckbPrimaryLocation" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Known As
                    </td>
                    <td class="style17">
                        <br />
                        <asp:TextBox ID="txtKnownAsPremise" runat="server" TabIndex="2" CssClass="textbox"></asp:TextBox>
                        <br />
                    </td>
                    <td class="style19">
                        Location Managed
                    </td>
                    <td>
                        <asp:CheckBox ID="ckbLocationManaged" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Location Organisation
                    </td>
                    <td class="style17">
                        <asp:TextBox ID="txtLocationOrganisation" runat="server" CssClass="textbox"></asp:TextBox>
                        <a href="../Views/PremiseList.aspx" style="color: Blue;">Lookup</a>
                    </td>
                    <td class="style19">
                        ST Network Connectivity
                    </td>
                    <td>
                        <asp:CheckBox ID="ckbSTNetwork" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Location Status&nbsp;
                        <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="*"></asp:Label>
                    </td>
                    <td class="style17">
                        <asp:DropDownList ID="DrdLocationStatus" runat="server" Height="20px" CssClass="textbox"
                            TabIndex="11">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Value="PendingActive"> Pending Active </asp:ListItem>
                            <asp:ListItem Value="Active"> Active </asp:ListItem>
                            <asp:ListItem Value="PendingClosure"> Pending Closure </asp:ListItem>
                            <asp:ListItem Value="ClosedItems">  Closed Items </asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style19" rowspan="2">
                        Location Type
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>
                    </td>
                    <td class="style5" rowspan="2">
                        <div class="checkboxlist">
                            <asp:CheckBoxList ID="ListBoxLocationType" runat="server">
                                <asp:ListItem Enabled="True" Selected="False"> EnterPrise</asp:ListItem>
                                <asp:ListItem Enabled="True" Selected="False">Support Center</asp:ListItem>
                                <asp:ListItem Enabled="True" Selected="False">Project</asp:ListItem>
                                <asp:ListItem Enabled="True" Selected="False">government</asp:ListItem>
                                <asp:ListItem Enabled="True" Selected="False">exc</asp:ListItem>
                                <asp:ListItem Enabled="True" Selected="False">Shop</asp:ListItem>
                            </asp:CheckBoxList>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Location Status Date
                    </td>
                    <td class="style17">
                        <asp:TextBox ID="txtLocationStatusDate" runat="server" TabIndex="5" CssClass="textbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        &nbsp;Address Line 1
                    </td>
                    <td class="style17">
                        <asp:TextBox ID="txtAddressLine1" runat="server" Style="margin-bottom: 0px" TabIndex="6"
                            CssClass="textbox"></asp:TextBox>
                    </td>
                    <td class="style19" rowspan="2">
                        Location Description
                    </td>
                    <td class="style5" rowspan="2">
                        <asp:TextBox ID="txtLocationDescription" runat="server" TabIndex="13" CssClass="textbox"
                            Height="70px" TextMode="MultiLine" Rows="4"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Address Line 2
                    </td>
                    <td class="style17">
                        <asp:TextBox ID="txtAddressLine2" runat="server" TabIndex="7" CssClass="textbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Address Line 3
                    </td>
                    <td class="style16">
                        <asp:TextBox ID="txtAddessLine3" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td class="style19">
                        Phone Number
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="txtPhoneNumber" runat="server" TabIndex="14" CssClass="textbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        Post Code
                    </td>
                    <td class="style16">
                        <asp:TextBox ID="txtPostCode" runat="server" CssClass="textbox"></asp:TextBox>
                        <a href="../Views/SearchAddress.aspx" style="color: Blue;">Lookup</a>
                    </td>
                    <td class="style19">
                        General Fax Number
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="txtGeneralFaxNumber" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        City/Town
                    </td>
                    <td class="style16">
                        <asp:TextBox ID="txtCityTown" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td class="style18">
                        Minicomm Number
                    </td>
                    <td>
                        <asp:TextBox ID="txtMinicommNumber" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <tr>
                        <td class="style3">
                            County
                        </td>
                        <td class="style16">
                            <asp:TextBox ID="txtCounty" runat="server" CssClass="textbox"></asp:TextBox>
                        </td>
                        <td class="style18">
                            Is New Shop?
                        </td>
                        <td>
                            <asp:CheckBox ID="ckbIsNewShop" runat="server" />
                        </td>
                    </tr>
                <tr>
                    <td class="style3">
                        Nation/Country
                    </td>
                    <td class="style16">
                        <asp:DropDownList ID="DrDNationCountry" runat="server" CssClass="textbox">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Value="VietNam">Viet Nam</asp:ListItem>
                            <asp:ListItem Value="Korea">Korea</asp:ListItem>
                            <asp:ListItem Value="JaPan">JaPan</asp:ListItem>
                            <asp:ListItem Value="Singapore">Singapore</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style18">
                        Shop Flag Date
                    </td>
                    <td>
                        <asp:TextBox ID="txtShopFlagDate" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style3" colspan="2">
                        <asp:LinkButton ID="LinkbtnLocationOpenTime" ForeColor="Blue" runat="server">Location Openning Time </asp:LinkButton>
                    </td>
                    <td class="style18">
                        Speciallist Shop
                    </td>
                    <td>
                        <asp:CheckBox ID="ckbSpeciallistShop" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="style3">
                        <center>
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnSave" runat="server" Text="Save" Width="65px" Height="25px" TabIndex="16" /></center>
                    </td>
                    <td class="style16">
                        <input type="button" value="Back" onclick="chuyentrang()" style="width: 65px; height: 25px;" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
